import type {RouteRecordRaw} from "vue-router";

const routes: RouteRecordRaw[] = [
  {
    path:'/toc-app',
    meta:{
      title:'终端应用管理',
      icon: 'lucide:layout-dashboard',
      order: 2,
    },
    children:[
      {
        path:'ai-app',
        name:'AiApp',
        component:()=>import('#/views/toc/app/index.vue'),
        meta:{
          icon:'carbon:workspace',
          title:'AI应用管理'
        }
      },
      {
        path:'app-category',
        name:'AppCategory',
        component:()=>import('#/views/toc/category/index.vue'),
        meta:{
          icon:'carbon:workspace',
          title:'AI应用分类'
        }
      },
      {
        path:'app-podcast',
        name:'app-podcast',
        component:()=>import('#/views/toc/podcast/index.vue'),
        meta:{
          icon:'carbon:workspace',
          title:'播客管理'
        }
      },
      {
        path:'app-podcast-type',
        name:'app-podcast-type',
        component:()=>import('#/views/toc/podcast/type.vue'),
        meta:{
          icon:'carbon:workspace',
          title:'播客分类'
        }
      },
      {
        path:'game-app',
        name:'game-app',
        component:()=>import('#/views/toc/game/index.vue'),
        meta:{
          icon:'carbon:workspace',
          title:'H5游戏配置'
        }
      }
    ]
  }
]

export default routes;
